﻿function ReplaceChildText(node){
	if (node.nodeType == 3) {
		var spannode = document.createElement('span');
   	 	spannode.className = 'do_light';
		var nodeclone = node.cloneNode(true);
		spannode.appendChild(nodeclone);
		node.parentNode.replaceChild(spannode, node);
	}
	else if(node.nodeType == 1 && node.childNodes){
		var x = node.childNodes;
		for(var i = 0; i < x.length; i++){
			ReplaceChildText(x[i]);
		}
	}
}
	
$(function(){
	ReplaceChildText(document.body);
	$('body').css('background','').css('background-color','#333');
	$('div').css('background','').css('background-color','#333');
	$('ul').css('background','').css('background-color','#333');
	$('p').css('background','').css('background-color','#333');
	$('.do_light').css('z-Index','1000').css('color','#DEDEDE').css('font-family','Arial,Helvetica,sans-serif').css('line-height','22px');
});